package com.pro.framework.mtq.service.multiwrapper.util;

import com.pro.framework.api.model.IFrameworkException;
import lombok.Data;
import lombok.Getter;

/**
 * @author Administrator
 */
@Data
public class MultiException extends RuntimeException implements IFrameworkException {
    public MultiException(String message) {
        super(message);
        msg = message;
    }

    public MultiException(Throwable cause) {
        super(cause);
        msg = cause.getMessage();
    }
    private Integer code;
    private String msg;
    private Object[] params;

}
